/**
 * 作者: hxl
 * 日期: 2024-11-18 14:51:59
 * 备注: 秘书巡查表
 */
package com.motu.monstercity.server.game.commondata.patrol;
import com.motu.vertx.module.utility.toolset.Tool;
import io.vertx.core.json.JsonObject;

public class PatrolTable extends PatrolTableModel {
    private int[] eventIdNotArray = null;
    private int[] eventWeightNotArray = null; // 事件1权重
    private int[] eventIdObtainedArray = null;
    private int[] eventWeightObtainedArray = null; // 事件2权重
    public PatrolTable(JsonObject obj) {
        super(obj);
        eventIdNotArray = Tool.isEmpty(eventIdNot) ? new int[0] : Tool.strToIntArray(eventIdNot, ";");
        eventWeightNotArray = Tool.isEmpty(eventWeightNot) ? new int[0] : Tool.strToIntArray(eventWeightNot, ";");
        eventIdObtainedArray = Tool.isEmpty(eventIdObtained) ? new int[0] : Tool.strToIntArray(eventIdObtained, ";");
        eventWeightObtainedArray = Tool.isEmpty(eventWeightObtained) ? new int[0] : Tool.strToIntArray(eventWeightObtained, ";");
    }

    public int[] getEventWeightNotArray() {
        return eventWeightNotArray;
    }

    public int[] getEventWeightObtainedArray() {
        return eventWeightObtainedArray;
    }

    public int[] getEventIdNotArray() {
        return eventIdNotArray;
    }

    public int[] getEventIdObtainedArray() {
        return eventIdObtainedArray;
    }
}
